package com.zhia.demo.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhia.demo.entity.RecoverEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author DONG
 * @create 2023/11/4 16:33
 */
@Mapper
public interface RecoverDao extends BaseMapper<RecoverEntity> {
    List<RecoverEntity> getRecoverList(@Param("id") Integer id);

    void likeAdd(@Param("id") Integer id);

    void likeDec(@Param("id") Integer id);
}
